﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FolderSync.Entities
{
    /// <summary>
    /// 文件同步信息
    /// </summary>
    [Table("sync_file")]
    public class SyncFile : Egg.EFCore.Dbsets.AutoIncrementKeyEntity
    {
        /// <summary>
        /// 同步Id
        /// </summary>
        [Column("sync_id")]
        public virtual long SyncId { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        [Column("path")]
        public virtual string Path { get; set; } = "";

        /// <summary>
        /// 最后写入时间
        /// </summary>
        [Column("last_write_time")]
        public virtual long? LastWriteTime { get; set; }
    }
}
